package com.mccken.rapid.common.config;

/**
 * 抽象的服务调用接口实现类
 * 
 * @program: rapid_gateway
 * @description: 抽象的服务调用接口实现类
 * @author: mccken
 * @create: 2022-03-03 09:35
 **/
public class AbstractServiceInvoker implements ServiceInvoker {
	
	protected String invokerPath;
	
	protected String ruleId;
	
	protected int timeout = 5000;

	@Override
	public String getInvokerPath() {
		return this.invokerPath;
	}

	@Override
	public void setInvokerPath(String invokerPath) {
		this.invokerPath = invokerPath;
	}

	@Override
	public String getRuleId() {
		return this.ruleId;
	}

	@Override
	public void setRuleId(String ruleId) {
		this.ruleId = ruleId; 
	}

	@Override
	public int getTimeout() {
		return this.timeout;
	}

	@Override
	public void setTimeout(int timeout) {
		this.timeout = timeout;
	}
}
